import 'package:aio/aio.dart';
import 'package:app/src/http/bean/wroks/payfree_return_bean.dart';

class SubPayFreeReturn extends BaseBean {
  bool isRackgoes = false; //是否整架入库
  //责任工序
  String? ProcessId = "";

  //责任班组
  String? GroupId = "";

  //责任人
  String? PersonId = "";

  //退货明细
  List<PayFreeReturnDetail3>? Details = null;
  @override
  fromJson(Map<String, dynamic> json) {
    // TODO: implement fromJson
    isRackgoes = json['isRackgoes'] ?? false;
    ProcessId = json['ProcessId']?.toString() ?? "";
    GroupId = json['GroupId']?.toString() ?? "";
    PersonId = json['PersonId']?.toString() ?? "";
  }

  @override
  instance() {
    // TODO: implement instance
    return SubPayFreeReturn();
  }

  @override
  Map<String, dynamic> toJson() {
    // TODO: implement toJson
    var map = <String, dynamic>{};
    map["ProcessId"] = ProcessId;
    map["GroupId"] = GroupId;
    map["PersonId"] = PersonId;
    map["isRackgoes"] = isRackgoes;
    map["Details"] = Details;
    return map;
  }
}
